<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DPV报告</title>
<%
	String url = request.getParameter("url");




	
%>
<%@include file="/jsp/include/common.jsp"%>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/assets/ui/jquery-easyui-1.4.1/extend/tree.loadFilter.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/assets/plugins/pdfobject.min.js" ></script>
 
</head>
<body>
<center>
 <script for="window" event="onload">
//Checking if Acrobat Reader installed (IE4+)... 
//基本不会起作用。而且在IE之外的浏览器中被忽略执行。不想要，则可以删除。
<!--
   document.all [
		document.all.PDFNotKnown ? "IfNoAcrobat" : "IfAcrobat"
		].style.display = "block";
 //-->
 </script>
<style>
#IfAcrobat{margin-left:auto; width:976px; margin-right:auto; }
</style>

</head>
 <body>
 
 <!-- if javascript不可用，则提示： -->
    <noscript>
     Cannot determine if you have Acrobat Reader (or the full Acrobat) installed
     <font size="-1">(because JavaScript is unavailable or turned off)</font>.
    </noscript>
		


	
 <!-- if adobe reader异常??则提示： -->
    <object type="application/pdf" width=0 height=0 style="display:none">
        <div id="PDFNotKnown" style="display:none">&nbsp;</div>
    </object>
		

 <!-- 显示pdf 开始 -->		
<div id=IfAcrobat>
<!-- object为IE而写。最后一句的embed为chrome和ff而写 -->
<object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="990" height="700" border="0" top="10" name="pdf"> 
	<param name="toolbar" value="true">
	<param name="_Version" value="65539">
	<param name="_ExtentX" value="20108">
	<param name="_ExtentY" value="10866">
	<param name="_StockProps" value="0">
	<param name="SRC" value="<%=url%>"><!-- 你的pdf文件地址 for IE -->

	<embed name="plugin" src="<%=url%>" type="application/pdf" width="990" height="700" top="100" border="0" toolbar="true" _version="65539" _extentx="20108" _extenty="10866" _stockprops="0"> <!-- 你的pdf文件地址 for chrome & ff -->
	<p><!-- if 没有安装adobe reader，则提示： -->	
             你需要先安装Adobe Reader才能正常浏览文件，请点击<a href=http://get.adobe.com/cn/reader/download/?installer=Reader_11.0_Chinese_Simplified_for_Windows target="_blank">这里</a>下载Adobe Reader.
	
</object>

</div>
 <!-- 显示pdf 结束 -->
	
	
	
	
	 	
    

	
	
	
<div id="pdf1" style="width:700px; margin-top: 50px">

<a href="<%=url %>">点此下载该pdf</a></div>
</center>
</body>
<script type="text/javascript"> 


window.onload = function (){
	
<%--     var success = new PDFObject({
    	url: "<%=url%>" ,
    	pdfOpenParams: { 
    		scrollbars: '0', 
    		toolbar: '0', 
    		statusbar: '0'
    	}}).embed("pdf1"); --%>
};
<%-- <iframe src="<%=url %>" width="90%" height="660"></iframe> 

<object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="100%" height="100%" border="0"><!--IE-->
      <param name="_Version" value="65539">
      <param name="_ExtentX" value="20108">
      <param name="_ExtentY" value="10866">
      <param name="_StockProps" value="0">
      <param name="SRC" value="<%=url %>">
<embed src="<%=url %>" width="100%" height="800" href="<%=url %>"></embed><!--FF-->
</object>  --%>
</script> 
</html>
